/*

 */
package com.insigma.business.qrcode.soldier.dto;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.insigma.business.common.utils.JsonToStringDeserializer;
import com.insigma.business.qrcode.common.vo.ToString;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;


@Getter
@Setter
public class RequestObjFO extends ToString {

    @NotBlank(message = "partnerId不能为空")
    public String partnerId;

    @NotBlank(message = "source不能为空")
    public String source;

    @NotBlank(message = "timestamp不能为空")
    public String timestamp;

    @NotBlank(message = "bizReqData不能为空")
    @JsonDeserialize(using = JsonToStringDeserializer.class)
    public String bizReqData;

    @NotBlank(message = "operation不能为空")
    public String operation;

    
    public String sign;

}
